package com.zy.dao.sys;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.sys.City;
import com.zy.pojo.query.sys.CityQuery;

public interface CityDao extends BaseDao<City> {

	List<City> listCity(@Param("cityQuery") CityQuery cityQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countCity(@Param("cityQuery") CityQuery cityQuery);

	/**
	 * 获取所有得地区
	 * @return
	 */
	List<City> listAllCity(@Param("cityName") String cityName);
}